package com.szzg10.pattern.state;

public class NoCoinState implements State {

	private Machine machine;
	
	public NoCoinState(Machine machine) {
		this.machine = machine;
	}
	
	@Override
	public void insert() {
		System.out.println("Insert!!!");
		machine.setState(machine.getCoinState());
	}

	@Override
	public void refund() {
		System.out.println("No refund!!!");
	}

	@Override
	public void turn() {
		System.out.println("No turn!!!");
	}
	
	@Override
	public void out() {
		System.out.println("No out!!!");
	}

}
